/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

/*
 * Copyright (c) 2014, Joyent, Inc.
 */

.tt-dropdown-menu {
  max-height: 350px;
  overflow-x: hidden;
  overflow-y: auto;
}

.tt-suggestion {
  line-height: 1.5;
  display: block;
  padding: 2px 15px;
}
.tt-suggestion.tt-cursor {
  background: @link-color;
  color: #fff;
  * {
    color: #fff;
  }
}
.twitter-typeahead+.help-inline {
  margin-bottom: -5px;
}
.twitter-typeahead+.help-inline+.help-block {
  margin-top: @line-height-base/2;
}
.twitter-typeahead+.help-block {
  margin-top: @line-height-base/2;
}
.twitter-typeahead {
  .tt-hint { display: none; }
  .tt-input { background-color: #fff !important; }
}

.tt-loading {
  position: relative;
  background: #eee;
  width: 50px;
  top: -25px;
  left: 230px;
  font-size: 11px;
  text-align: center;
}
.tt-empty {
  padding: 2px 15px;
}
.tt-empty strong,
.tt-suggestion.tt-cursor strong  {
  background: @btn-warning-bg;
  color: #fff;
}
.tt-suggestion strong  {
  background: @state-warning-bg;
}

.tt-dataset-users {
  width: 300px;
  .login {
    .account, .subuser {
      margin-left: 5px;
      font-size: 9px;
      padding: 3px 5px;
      font-weight: normal;
      text-transform: uppercase;
    }
    .account {
      background: @state-success-bg;
      color: @state-success-text;
    }
    .subuser {
      background: @state-info-bg;
      color: @state-info-text;
    }
    font-weight: bold;
  }

  .cn { font-size: 12px; }
  .uuid { font-size: 10px; color: @gray;}
  .email { font-size: 12px; }
}
.tt-dataset-servers {
  width: 280px;
  .hostname { font-weight: bold;}
  .uuid { font-size: 10px; color: @gray;}
  .tt-is-under-cursor {
    .uuid { color: #FFF; }
  }
}
.tt-dataset-images {
  width: 320px;
  .name { display: block; font-weight: bold; }
  .version, div { color: @gray; font-size: 11px; }
  .version b, div b { font-weight: 300;}
  .tt-cursor {
    .version { color: #fff; }
  }
}
.tt-dataset-packages {
  width: 280px;
  .name { font-weight: bold;}
  .uuid, .version { font-size: 10px; color: @gray;}
  .tt-is-under-cursor {
    .uuid { color: #FFF; }
  }
}
